import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 25228
 * Date: 2024-09-30
 * Time: 19:06
 */
public class Main7 {
    public static void main(String[] args) {
        Scanner in =new Scanner(System.in);
        double dollar = in.nextDouble();
        ProfitCal pc = new ProfitCal();
        System.out.printf("%.3f\n", pc.calProfit(dollar));
    }
}

class ProfitCal {
    public double calProfit(double dollar) {
        double s=0.0;
        for (int i = 0; i < 6; i++) {
            s=(s+dollar)*(1+0.00417);
        }
        return s;
    }
}



/* 请在这里填写答案 */
